package adfc.main;

import adfc.game.Chunk;
import adfc.game.WorldGen;
import adfc.renderer.Renderer;

/**
 * Created by IntelliJ IDEA.
 * User: aimozg
 * Date: 31.12.11
 * Time: 17:37
 */
public class Launcher {
    public static void main(String[] args) {
        new Launcher();
    }

    public Launcher() {
        Chunk chunk = new Chunk();
        WorldGen worldGen = new WorldGen();
        worldGen.fillChunkBlocks(chunk, 0, 0);
        Renderer renderer = new Renderer();
        renderer.setOnlyChunk(chunk);
        renderer.initGui();
        renderer.loop();
    }
}
